﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class TestEF : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //km_sso_db.KM_SSO_DBEntities db = new km_sso_db.KM_SSO_DBEntities();
            //km_sso_db.SsoLog ssoLog = new km_sso_db.SsoLog();
            //ssoLog.Sl_Id = Guid.NewGuid().ToString("N");
            //ssoLog.Sl_Login_Time = DateTime.Now;
            //ssoLog.Sl_Remark = "test";
            //ssoLog.Sl_App_Key = "appkey";
            //ssoLog.Sl_Action = "测试插入数据";
            //ssoLog.Sl_Source_Ip = "127.0.0.1";
            //ssoLog.Sl_Source_Mac = "aa:aa:ee:ww";
            //ssoLog.Sl_Username = "wdf";
            //ssoLog.Sl_Token = "aaassseee";
            //db.SsoLog.Add(ssoLog);
            //db.SaveChanges();
        }
    }
}